import request from '@/utils/request'

export function fetchResearchGroupMemberList() {
  return request({
    url: '/researchgroupmembers',
    method: 'get'
  })
}

export function fetchResearchGroupMemberById(id) {
  return request({
    url: `/researchgroupmembers/${id}`,
    method: 'get'
  })
}

export function fetchResearchGroupMemberByGroupId(groupId) {
  return request({
    url: `/researchgroupmembers/${groupId}`,
    method: 'get'
  })
}
